package com.sqfw.project.knowledge.domain.vo;

import lombok.Data;

import java.io.Serializable;

/**
 * 查无/纠错统计的数据
 *
 * */
@Data
public class KlHasNotwrongCountVo  implements Serializable {
    private static final long serialVersionUID = 4176734159923463333L;

    /** 三级承办部门ID */
    private String deptId;

    /** 三级承办部门名称 */
    private String deptName;

    /** 创建人的真实姓名/三级承办单位的真实姓名 */
    private String realName;

    /** 查无条数 */
    private Integer checkNoneCount;

    /** 查无超时条数() */
    private Integer checkNoneTimeout;

    /** 纠错条数 */
    private Integer errorCorrectionCount;

    /** 纠错超时条数 */
    private Integer errorCorrectionTimeout;

    /** 主动报送知识条数(通过审核的) */
    private Integer knowledgeCount;

    /** 小计（=查无条数+纠错条数+主动报送条数） */
    private Integer subtotalCount;

    public KlHasNotwrongCountVo() {
    }

    public KlHasNotwrongCountVo(String deptId, String realName) {
        this.deptId = deptId;
        this.realName = realName;
        this.checkNoneCount = 0;
        this.checkNoneTimeout = 0;
        this.errorCorrectionCount = 0;
        this.errorCorrectionTimeout = 0;
        this.knowledgeCount = 0;
        this.subtotalCount = 0;
    }

    public KlHasNotwrongCountVo(String deptId, String deptName, String realName) {
        this.deptId = deptId;
        this.realName = realName;
        this.deptName = deptName;
        this.checkNoneCount = 0;
        this.checkNoneTimeout = 0;
        this.errorCorrectionCount = 0;
        this.errorCorrectionTimeout = 0;
        this.knowledgeCount = 0;
        this.subtotalCount = 0;
    }

    public KlHasNotwrongCountVo(String deptId, String realName, Integer knowledgeCount, Integer subtotalCount) {
        this.deptId = deptId;
        this.realName = realName;
        this.checkNoneCount = 0;
        this.checkNoneTimeout = 0;
        this.errorCorrectionCount = 0;
        this.errorCorrectionTimeout = 0;
        this.knowledgeCount = knowledgeCount;
        this.subtotalCount = subtotalCount;
    }



}
